/*
 * @(#)IUserService.java	2013-1-31 下午4:33:27
 * order_jsp_servlet
 * Copyright 2013 Thuisoft, Inc. All rights reserved.
 * THUNISOFT PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.thunisoft.order.service;

import com.thunisoft.order.domain.TUser;

/**
 * IUserService
 * 
 * @author ice
 * @version 1.0
 * 
 */
public interface IUserService {

    /**
     * 登录是否成功
     * 
     * @param user
     *            用户对象
     * @return 成功返回true，不成功返回false
     */
    public boolean login(TUser user);

    /**
     * 检查该用户名是否存在
     * 
     * @param sUsername
     *            用户名
     * @return 存在返回true，不存在返回false
     */
    public boolean checkUserExist(String sUsername);
}
